package com.ceair.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author wangbaohai
 * @ClassName MongoChatMemory
 * @description: 会话记忆实体-mongodb
 * @date 2025年05月18日
 * @version: 1.0.0
 */
@Data
@Document(collection = "mongo_chat_memory")
public class MongoChatMemory implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    // 聊天记录id
    private int memoryId;

    // 聊天记录列表的json字符串
    private String content;

}
